package itdep.services.address;

import itdep.domain.address.Country;
import itdep.domain.address.Region;
import itdep.services.NamedEntityQuery;

/**
 * @author Ivan Khalopik
 * @version $Revision: 42 $ $Date: 2010-06-25 09:12:54 +0000 (Fri, 25 Jun 2010) $
 */
public class RegionQuery
		extends NamedEntityQuery<Region, RegionQuery>
		implements RegionFilter {

	private Country country;

	@Override
	public Country getCountry() {
		return country;
	}

	public RegionQuery setCountry(Country country) {
		this.country = country;
		return query();
	}

	public RegionQuery() {
		super(Region.class);
	}
}
